package com.mysite.springcloud.demo.user.service;

import com.mysite.springcloud.demo.api.vo.UserVo;
import com.mysite.springcloud.demo.user.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {

    @Autowired
    private UserMapper userMapper;

    public UserVo getUser(String username) {
        return userMapper.getUser(username);
    }
}
